# @Time    : 2021/1/19 12:10
# @Author  : LDY
# @Email   : 274884591@qq.com
# @File    : woniusales.py
# @desc    : woniusales的业务逻辑代码
# @Software: PyCharm
from Business.GUI.Objects.Woniusales.woniusalesPom import WoniusalesPom


class Woniusales:
    def __init__(self):
        self.pom = WoniusalesPom()

    def login(self):
        self.pom.get_username_ele().send_keys("admin")
        self.pom.get_password_ele().send_keys("Milor123")
        self.pom.get_verifycode_ele().send_keys("0000")
        self.pom.get_loginbutton_ele().click()


if __name__ == '__main__':
    woniu = Woniusales()
    woniu.login()
